/* stylelint-disable */

.ExcellentLecturer {
    display: flex;
    flex-wrap: nowrap;
    padding-top: 22px;
    overflow-x: auto;
    column-gap: 12px;
    background-color: transparent;
    .item {
        position: relative;
        flex-shrink: 0; /* 防止子项缩小 */
        width: 240px;
        height: 145px;
        padding: 0 16px 16px 16px;
        background-image: url('~@/assets/common/home/bg_youxiujiangshi.png');
        background-size: cover;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;

        &__info {
            display: flex;
            align-items: center;
            margin-top: -16px;

            img {
                width: 100px;
                height: 100px;
                object-fit: cover;
            }

            & > div {
                margin-left: 16px;
            }

            &_name {
                margin-top: 16px;
                color: #ffffff;
                font-weight: bold;
                font-size: 20px;
                font-family: AlimamaShuHeiTi, AlimamaShuHeiTi;
                font-style: normal;
                line-height: 24px;
            }
            &_region {
                display: -webkit-box;
                margin-top: 6px;
                overflow: hidden;
                color: rgba(255, 255, 255, 0.85);
                font-size: 14px;
                line-height: 22px;
                text-overflow: ellipsis;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
            }
        }

        &__tag {
            margin-top: -12px;
            padding: 13px 16px;
            color: #fff;
            background: rgba(247, 105, 10, 0.6);
            border-radius: 8px;
            backdrop-filter: blur(3px);

            p {
                margin-top: 4px;
                color: #ffffff;
                font-weight: 400;
                font-size: 14px;
                font-family: PingFangSC, PingFang SC;
                font-style: normal;
                line-height: 22px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            p:nth-child(2) {
                margin-top: 4px;
                span {
                    margin-right: 8px;
                    &::before {
                        display: inline-block;
                        width: 3px;
                        height: 3px;
                        margin-right: 5px;
                        background-color: #fff;
                        border-radius: 50%;
                        transform: translateY(-3px);
                        content: '';
                    }
                }
            }
        }
    }
}
